home *** CD-ROM | disk | FTP | other *** search
- // Borland C++ Builder
- // Copyright (c) 1995, 1998 by Borland International
- // All rights reserved
-
- // (DO NOT EDIT: machine generated header) 'GraphSvr.pas' rev: 3.00
-
- #ifndef GraphSvrHPP
- #define GraphSvrHPP
- #include <Menus.hpp>
- #include <Controls.hpp>
- #include <OleCtrls.hpp>
- #include <Graphics.hpp>
- #include <Classes.hpp>
- #include <OleCtl.hpp>
- #include <OLE2.hpp>
- #include <SysInit.hpp>
- #include <System.hpp>
-
- //-- user supplied -----------------------------------------------------------
-
- namespace Graphsvr
- {
- //-- type declarations -------------------------------------------------------
- class DELPHICLASS TGraphicsServer;
- class PASCALIMPLEMENTATION TGraphicsServer : public Olectrls::TOleControl
- {
- typedef Olectrls::TOleControl inherited;
-
- private:
- short __stdcall Get_Color(short index);
- void __stdcall Set_Color(short index, short Value);
- float __stdcall Get_Data(short index);
- void __stdcall Set_Data(short index, float Value);
- short __stdcall Get_Extra(short index);
- void __stdcall Set_Extra(short index, short Value);
- short __stdcall Get_FFamily(short index);
- void __stdcall Set_FFamily(short index, short Value);
- short __stdcall Get_FSize(short index);
- void __stdcall Set_FSize(short index, short Value);
- short __stdcall Get_FStyle(short index);
- void __stdcall Set_FStyle(short index, short Value);
- System::AnsiString __stdcall Get_Label_(short index);
- void __stdcall Set_Label_(short index, const System::AnsiString Value);
- System::AnsiString __stdcall Get_Legend(short index);
- void __stdcall Set_Legend(short index, const System::AnsiString Value);
- short __stdcall Get_Pattern(short index);
- void __stdcall Set_Pattern(short index, short Value);
- short __stdcall Get_Symbol(short index);
- void __stdcall Set_Symbol(short index, short Value);
- float __stdcall Get_XPos(short index);
- void __stdcall Set_XPos(short index, float Value);
-
- protected:
- virtual void __fastcall InitControlData(void);
-
- public:
- HIDESBASE void __stdcall Refresh(void);
- void __stdcall AboutBox(void);
- __property System::Variant Picture = {read=GetVariantProp, write=SetVariantProp, index=35};
- __property System::AnsiString QuickData = {read=GetStringProp, write=SetStringProp, index=37};
- __property short SeeThru = {read=GetSmallintProp, write=SetSmallintProp, index=39, nodefault};
- __property short Color[short index] = {read=Get_Color, write=Set_Color};
- __property float Data[short index] = {read=Get_Data, write=Set_Data};
- __property short Extra[short index] = {read=Get_Extra, write=Set_Extra};
- __property short FFamily[short index] = {read=Get_FFamily, write=Set_FFamily};
- __property short FSize[short index] = {read=Get_FSize, write=Set_FSize};
- __property short FStyle[short index] = {read=Get_FStyle, write=Set_FStyle};
- __property System::AnsiString Label_[short index] = {read=Get_Label_, write=Set_Label_};
- __property System::AnsiString Legend[short index] = {read=Get_Legend, write=Set_Legend};
- __property short Pattern[short index] = {read=Get_Pattern, write=Set_Pattern};
- __property short Symbol[short index] = {read=Get_Symbol, write=Set_Symbol};
- __property float XPos[short index] = {read=Get_XPos, write=Set_XPos};
-
- __published:
- __property TabStop ;
- __property DragCursor ;
- __property DragMode ;
- __property ParentShowHint ;
- __property PopupMenu ;
- __property ShowHint ;
- __property TabOrder ;
- __property Visible ;
- __property OnDragDrop ;
- __property OnDragOver ;
- __property OnEndDrag ;
- __property OnEnter ;
- __property OnExit ;
- __property OnStartDrag ;
- __property OnClick ;
- __property OnDblClick ;
- __property OnKeyDown ;
- __property OnKeyPress ;
- __property OnKeyUp ;
- __property OnMouseDown ;
- __property OnMouseMove ;
- __property OnMouseUp ;
- __property Olectrls::TOleEnum AutoInc = {read=GetOleEnumProp, write=SetOleEnumProp, stored=false, index=1
- , nodefault};
- __property Olectrls::TOleEnum Background = {read=GetOleEnumProp, write=SetOleEnumProp, stored=false
- , index=2, nodefault};
- __property System::AnsiString BottomTitle = {read=GetStringProp, write=SetStringProp, stored=false,
- index=3};
- __property Olectrls::TOleEnum ColorData = {read=GetOleEnumProp, write=SetOleEnumProp, stored=false,
- index=4, nodefault};
- __property System::AnsiString CtlVersion = {read=GetStringProp, write=SetStringProp, stored=false,
- index=5};
- __property Olectrls::TOleEnum DataReset = {read=GetOleEnumProp, write=SetOleEnumProp, stored=false,
- index=6, nodefault};
- __property Olectrls::TOleEnum DrawMode = {read=GetOleEnumProp, write=SetOleEnumProp, stored=false,
- index=7, nodefault};
- __property Olectrls::TOleEnum DrawStyle = {read=GetOleEnumProp, write=SetOleEnumProp, stored=false,
- index=8, nodefault};
- __property short ExtraData = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=9, nodefault
- };
- __property Olectrls::TOleEnum FontFamily = {read=GetOleEnumProp, write=SetOleEnumProp, stored=false
- , index=10, nodefault};
- __property short FontSize = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=11, nodefault
- };
- __property Olectrls::TOleEnum FontStyle = {read=GetOleEnumProp, write=SetOleEnumProp, stored=false,
- index=12, nodefault};
- __property Olectrls::TOleEnum FontUse = {read=GetOleEnumProp, write=SetOleEnumProp, stored=false, index=13
- , nodefault};
- __property Olectrls::TOleEnum Foreground = {read=GetOleEnumProp, write=SetOleEnumProp, stored=false
- , index=14, nodefault};
- __property System::AnsiString GraphCaption = {read=GetStringProp, write=SetStringProp, stored=false
- , index=15};
- __property float GraphData = {read=GetSingleProp, write=SetSingleProp, stored=false, index=16};
- __property short GraphStyle = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=17,
- nodefault};
- __property System::AnsiString GraphTitle = {read=GetStringProp, write=SetStringProp, stored=false,
- index=18};
- __property Olectrls::TOleEnum GraphType = {read=GetOleEnumProp, write=SetOleEnumProp, stored=false,
- index=19, nodefault};
- __property Olectrls::TOleEnum GridStyle = {read=GetOleEnumProp, write=SetOleEnumProp, stored=false,
- index=20, nodefault};
- __property System::AnsiString ImageFile = {read=GetStringProp, write=SetStringProp, stored=false, index=21
- };
- __property Olectrls::TOleEnum IndexStyle = {read=GetOleEnumProp, write=SetOleEnumProp, stored=false
- , index=22, nodefault};
- __property short LabelEvery = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=23,
- nodefault};
- __property Olectrls::TOleEnum Labels = {read=GetOleEnumProp, write=SetOleEnumProp, stored=false, index=24
- , nodefault};
- __property System::AnsiString LabelText = {read=GetStringProp, write=SetStringProp, stored=false, index=25
- };
- __property System::AnsiString LeftTitle = {read=GetStringProp, write=SetStringProp, stored=false, index=26
- };
- __property Olectrls::TOleEnum LegendStyle = {read=GetOleEnumProp, write=SetOleEnumProp, stored=false
- , index=27, nodefault};
- __property System::AnsiString LegendText = {read=GetStringProp, write=SetStringProp, stored=false,
- index=28};
- __property Olectrls::TOleEnum LineStats = {read=GetOleEnumProp, write=SetOleEnumProp, stored=false,
- index=29, nodefault};
- __property short NumPoints = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=30,
- nodefault};
- __property short NumSets = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=31, nodefault
- };
- __property Olectrls::TOleEnum Palette = {read=GetOleEnumProp, write=SetOleEnumProp, stored=false, index=32
- , nodefault};
- __property short PatternData = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=33
- , nodefault};
- __property Olectrls::TOleEnum PatternedLines = {read=GetOleEnumProp, write=SetOleEnumProp, stored=false
- , index=34, nodefault};
- __property Olectrls::TOleEnum PrintStyle = {read=GetOleEnumProp, write=SetOleEnumProp, stored=false
- , index=36, nodefault};
- __property Olectrls::TOleEnum RandomData = {read=GetOleEnumProp, write=SetOleEnumProp, stored=false
- , index=38, nodefault};
- __property Olectrls::TOleEnum SymbolData = {read=GetOleEnumProp, write=SetOleEnumProp, stored=false
- , index=40, nodefault};
- __property Olectrls::TOleEnum ThickLines = {read=GetOleEnumProp, write=SetOleEnumProp, stored=false
- , index=41, nodefault};
- __property short ThisPoint = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=42,
- nodefault};
- __property short ThisSet = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=43, nodefault
- };
- __property short TickEvery = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=44,
- nodefault};
- __property Olectrls::TOleEnum Ticks = {read=GetOleEnumProp, write=SetOleEnumProp, stored=false, index=45
- , nodefault};
- __property float XPosData = {read=GetSingleProp, write=SetSingleProp, stored=false, index=46};
- __property float YAxisMax = {read=GetSingleProp, write=SetSingleProp, stored=false, index=47};
- __property float YAxisMin = {read=GetSingleProp, write=SetSingleProp, stored=false, index=48};
- __property Olectrls::TOleEnum YAxisPos = {read=GetOleEnumProp, write=SetOleEnumProp, stored=false,
- index=49, nodefault};
- __property Olectrls::TOleEnum YAxisStyle = {read=GetOleEnumProp, write=SetOleEnumProp, stored=false
- , index=50, nodefault};
- __property short YAxisTicks = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=51,
- nodefault};
- __property Word Enabled = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=-514, nodefault
- };
- __property Olectrls::TOleEnum BorderStyle = {read=GetOleEnumProp, write=SetOleEnumProp, stored=false
- , index=-504, nodefault};
- __property int hWnd = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=-515, nodefault
- };
- public:
- /* TOleControl.Create */ __fastcall virtual TGraphicsServer(Classes::TComponent* AOwner) : Olectrls::
- TOleControl(AOwner) { }
- /* TOleControl.Destroy */ __fastcall virtual ~TGraphicsServer(void) { }
-
- public:
- /* TWinControl.CreateParented */ __fastcall TGraphicsServer(HWND ParentWindow) : Olectrls::TOleControl(
- ParentWindow) { }
-
- };
-
- //-- var, const, procedure ---------------------------------------------------
- #define gphOff (Byte)(0)
- #define gphOn (Byte)(1)
- #define gphBlack (Byte)(0)
- #define gphBlue (Byte)(1)
- #define gphGreen (Byte)(2)
- #define gphCyan (Byte)(3)
- #define gphRed (Byte)(4)
- #define gphMagenta (Byte)(5)
- #define gphBrown (Byte)(6)
- #define gphLightGray (Byte)(7)
- #define gphDarkGray (Byte)(8)
- #define gphLightBlue (Byte)(9)
- #define gphLightGreen (Byte)(10)
- #define gphLightCyan (Byte)(11)
- #define gphLightRed (Byte)(12)
- #define gphLightMagenta (Byte)(13)
- #define gphYellow (Byte)(14)
- #define gphWhite (Byte)(15)
- #define gphNone (Byte)(0)
- #define gphGraphData (Byte)(1)
- #define gphColorData (Byte)(2)
- #define gphExtraData (Byte)(3)
- #define gphLabelText (Byte)(4)
- #define gphLegendText (Byte)(5)
- #define gphPatternData (Byte)(6)
- #define gphSymbolData (Byte)(7)
- #define gphXPosData (Byte)(8)
- #define gphAllData (Byte)(9)
- #define gphFontInfo (Byte)(10)
- #define gphNoAction (Byte)(0)
- #define gphClear (Byte)(1)
- #define gphDraw (Byte)(2)
- #define gphBlit (Byte)(3)
- #define gphCopy (Byte)(4)
- #define gphPrint (Byte)(5)
- #define gphWrite (Byte)(6)
- #define gphMonochrome (Byte)(0)
- #define gphColor (Byte)(1)
- #define gphRoman (Byte)(0)
- #define gphSwiss (Byte)(1)
- #define gphModern (Byte)(2)
- #define gphDefault (Byte)(0)
- #define gphItalic (Byte)(1)
- #define gphBold (Byte)(2)
- #define gphBoldItalic (Byte)(3)
- #define gphUnderlined (Byte)(4)
- #define gphUnderlinedItalic (Byte)(5)
- #define gphUnderlinedBold (Byte)(6)
- #define gphUnderlinedBoldItalic (Byte)(7)
- #define gphGraphTitle (Byte)(0)
- #define gphOtherTitles (Byte)(1)
- #define gphLabels (Byte)(2)
- #define gphLegend (Byte)(3)
- #define gphAllText (Byte)(4)
- #define gphAutoBlackWhite (Byte)(16)
- #define gphPie2D (Byte)(1)
- #define gphPie3D (Byte)(2)
- #define gphBar2D (Byte)(3)
- #define gphBar3D (Byte)(4)
- #define gphGantt (Byte)(5)
- #define gphLine (Byte)(6)
- #define gphLogLin (Byte)(7)
- #define gphArea (Byte)(8)
- #define gphScatter (Byte)(9)
- #define gphPolar (Byte)(10)
- #define gphHLC (Byte)(11)
- #define gphHorizontal (Byte)(1)
- #define gphVertical (Byte)(2)
- #define gphBoth (Byte)(3)
- #define gphStandard (Byte)(0)
- #define gphEnhanced (Byte)(1)
- #define gphXAxisLabelsOnly (Byte)(2)
- #define gphYAxisLabelsOnly (Byte)(3)
- #define gphMean (Byte)(1)
- #define gphMinmax (Byte)(2)
- #define gphMeanMinmax (Byte)(3)
- #define gphStddev (Byte)(4)
- #define gphStddevMean (Byte)(5)
- #define gphStddevMinmax (Byte)(6)
- #define gphStddevMinmaxMean (Byte)(7)
- #define gphBestfit (Byte)(8)
- #define gphBestfitMean (Byte)(9)
- #define gphBestfitMinmax (Byte)(10)
- #define gphBestfitMinmaxMean (Byte)(11)
- #define gphBestfitStddev (Byte)(12)
- #define gphBestfitStddevMean (Byte)(13)
- #define gphBestfitStddevMinmax (Byte)(14)
- #define gphAll (Byte)(15)
- #define gphPastel (Byte)(1)
- #define gphGrayscale (Byte)(2)
- #define gphPatternOff (Byte)(0)
- #define gphPatternOn (Byte)(1)
- #define gphMonochromeWithBorder (Byte)(2)
- #define gphColorWithBorder (Byte)(3)
- #define gphCrossPlus (Byte)(0)
- #define gphCrossTimes (Byte)(1)
- #define gphTriangleUp (Byte)(2)
- #define gphSolidTriangleUp (Byte)(3)
- #define gphTriangleDown (Byte)(4)
- #define gphSolidTriangleDown (Byte)(5)
- #define gphSquare (Byte)(6)
- #define gphSolidSquare (Byte)(7)
- #define gphDiamond (Byte)(8)
- #define gphSolidDiamond (Byte)(9)
- #define gphLinesOff (Byte)(0)
- #define gphLinesOn (Byte)(1)
- #define gphTicksOff (Byte)(0)
- #define gphTicksOn (Byte)(1)
- #define gphXAxisTicksOnly (Byte)(2)
- #define gphYAxisTicksOnly (Byte)(3)
- #define gphAlignLeft (Byte)(1)
- #define gphAlignRight (Byte)(2)
- #define gphVariableOrigin (Byte)(1)
- #define gphUserDefined (Byte)(2)
- #define gphFixedSingle (Byte)(1)
- extern PACKAGE void __fastcall Register(void);
-
- } /* namespace Graphsvr */
- #if !defined(NO_IMPLICIT_NAMESPACE_USE)
- using namespace Graphsvr;
- #endif
- //-- end unit ----------------------------------------------------------------
- #endif // GraphSvr
-